<script setup lang="ts">
</script>

<template>
  <el-row>
    <el-col :span="8">
      <div class="my-card" style="height: 150px;">
        <div class="header">相关信息</div>
        <p>
          <b>当前在线：</b>1010 人
        </p>
        <p>
          <b>今日注册：</b> 2 人
        </p>
      </div>
    </el-col>
    <el-col :span="16">
      <div class="my-card" style="height: 150px;">
        <div class="header">快速功能</div>
        <el-button>注册用户</el-button>
        <el-button>禁用账户</el-button>
      </div>
    </el-col>
    <el-col :span="8"></el-col>
  </el-row>
  <el-row>
    <div class="my-card" style="width: 100%;">
      <el-table>
        <el-table-column prop="id" label="用户id" width="100" />
        <el-table-column prop="username" label="用户名" />
        <el-table-column prop="nickname" label="昵称" />
        <el-table-column prop="email" label="邮箱" />
        <el-table-column prop="phoneNumber" label="电话" />
        <el-table-column prop="sex" label="性别" />
        <el-table-column prop="birthday" label="生日" />
        <el-table-column label="操作" fixed="right" width="150">
          <template #default>
            <el-button size="mini">修改</el-button>
            <el-button type="danger" size="mini">删除</el-button>
          </template>
        </el-table-column>
      </el-table>
    </div>
  </el-row>
</template>

<style lang="scss" scoped>
@import "@/style/my-card.scss";
</style>